home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / BUSINESS / FAC.LZH / FAC.DOC < prev    next >
Text File  |  1991-03-31  |  68KB  |  1,585 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.                            Find Area Code (FAC), Version 1.42
  16.                          Copyright 1990-91, All Rights Reserved
  17.  
  18.                           Developed and Marketed as Shareware
  19.                                            by
  20.                                    Michael K. Molloy
  21.                                8531 East Dry Creek Place
  22.                                   Englewood, CO  80112
  23.                                  CompuServe: 72737,3237
  24.  
  25.  
  26.                                   _______
  27.                              ____|__     |                (R)
  28.                           --|       |    |-------------------
  29.                             |   ____|__  |  Association of
  30.                             |  |       |_|  Shareware
  31.                             |__|   o   |    Professionals
  32.                           -----|   |   |---------------------
  33.                                |___|___|    MEMBER
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.                        D I S C L A I M E R  -  A G R E E M E N T
  43.  
  44.                  If you use Find Area Code (FAC), you must accept this
  45.               disclaimer of warranty:  "Find Area Code is supplied as is.
  46.                The author disclaims all warranties, expressed or implied,
  47.                     including, without limitation, the warranties of
  48.                merchantability and of fitness for any purpose. The author
  49.                assumes no liability for damages, direct or consequential,
  50.                    which may result from the use of Find Area Code."
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.         Find Area Code Documentation
  70.  
  71.  
  72.  
  73.                               F I N D   A R E A   C O D E
  74.  
  75.                                D O C U M E N T A T I O N
  76.  
  77.                                    Table of Contents
  78.  
  79.                       o Introduction
  80.                       o What is Shareware?
  81.                       o The Association of Shareware Professionals (ASP)
  82.                       o Registration
  83.                       o What Do I Get for Registering, and Why Should I?
  84.                       o Installation
  85.                       o Using FAC from the MSDOS Command Line
  86.                       o Using FAC as a Popup TSR Program
  87.                       o What Are Swapping TSRs?
  88.                       o Advanced Options and Configuration
  89.                       o Error Conditions
  90.                       o Technical/Compatibility Notes
  91.                       o How to Reach the Author
  92.                       o Alternative Uses
  93.                       o Final Remarks
  94.                       o Quick Reference List of FAC Options
  95.  
  96.  
  97.  
  98.         Introduction
  99.         ------------
  100.  
  101.         Find Area Code (FAC) is an MSDOS utility which can quickly locate U.S.
  102.         and international telephone area codes.  FAC performs its search using
  103.         any part of an area code, city, state, or country and shows matches
  104.         almost instantly.  The program can also do "fuzzy" searches, allowing
  105.         you to use approximate spellings to find matches.
  106.  
  107.         FAC uses an ASCII data file (FAC.DAT) which you can change, update, or
  108.         add to whenever you like.  There are more than 2000 United States,
  109.         Canadian, and international cities in the database.
  110.  
  111.         You can run FAC from the MSDOS command line or you can make it memory
  112.         resident (also known as a popup or Terminate and Stay Resident [TSR]
  113.         program).  When you install FAC as a memory resident program, you can
  114.         choose between a small (7K RAM) swapping version with a very short (less
  115.         than 2 seconds) delay while it swaps into memory from disk, or you can
  116.         have an instantly available popup which requires more RAM.  The swapping
  117.         version can also (optionally) use Expanded Memory (EMS) for almost
  118.         instantaneous swapping.
  119.  
  120.         The program automatically senses and supports all of the 25/43/50 line
  121.         modes used in most CGA/EGA/VGA video cards and pops up in the current
  122.         mode, using the screen most appropriately for that mode.  FAC's window
  123.         can be moved around on the screen by using the cursor keys.  You can
  124.         also "zoom" FAC's window to use the full screen or allow the program to
  125.         do so whenever required.
  126.  
  127.  
  128.  
  129.                                       Page 2 of 24
  130.  
  131.  
  132.  
  133.  
  134.  
  135.         Find Area Code Documentation
  136.  
  137.  
  138.  
  139.  
  140.         What is Shareware?
  141.         ------------------
  142.  
  143.         Although you may not have paid anything to get this copy of FAC, it is
  144.         not a free program.  It is distributed on a "shareware" basis.  What's
  145.         that?
  146.  
  147.         Shareware is a form of distribution which gives users a chance to try
  148.         software before buying it. If you try a Shareware program and continue
  149.         to use it, you are expected to register.  Individual programs differ on
  150.         details -- some request registration while others require it, some
  151.         specify a maximum trial period.  With registration, you get anything
  152.         from the simple right to continue using the software to an updated
  153.         program with printed manual.
  154.  
  155.         Copyright laws apply to both Shareware and commercial software, and the
  156.         copyright holder retains all rights, with a few specific exceptions as
  157.         stated below.  Shareware authors are accomplished programmers, just like
  158.         commercial authors, and the programs are of comparable quality. (In both
  159.         cases, there are good programs and bad ones!)  The main difference is in
  160.         the method of distribution.  The author specifically grants the right to
  161.         copy and distribute the software, either to everyone, or to a specific
  162.         group.  For example, some authors require written permission before a
  163.         commercial disk vendor may copy their Shareware.
  164.  
  165.         Shareware is a distribution method, not a type of software.  You should
  166.         find software that suits your needs and pocketbook, whether it's
  167.         commercial or Shareware.  The Shareware system makes fitting your needs
  168.         easier, because you can try before you buy.  And because the overhead is
  169.         low, prices are low also.  Shareware has the ultimate money-back
  170.         guarantee -- if you don't use the product, you don't pay for it.
  171.  
  172.         Find Area Code (FAC) is a "shareware program" and is provided at no
  173.         charge to you for your evaluation.  Feel free to share it with your
  174.         friends, but please do not give it away altered or as part of another
  175.         system.  The essence of "user-supported" software is to provide personal
  176.         computer users with quality software without high prices, and yet to
  177.         provide incentive for programmers to continue to develop new products.
  178.  
  179.         Shareware works!  In addition to using many commercial products, I'm a
  180.         also a registered user of many high quality shareware products,
  181.         including:  PKWare's PKZIP, SemWare's QEdit Advanced 2.1, California
  182.         Software Design's SHEZ, ECONO-SOFT's Directory eXtended (DX), PC-*.*'s
  183.         PC-TAX90, John Steed's Brother's Keeper, and Falk Data System's Easy
  184.         Format.  Please register shareware you continue to use.
  185.  
  186.         Please read the important information in the accompanying file,
  187.         LICENSE.DOC on the trial license for this program.  For more information
  188.         on shareware, please read the accompanying file SHR-WARE.DOC.
  189.  
  190.  
  191.         The Association of Shareware Professionals (ASP)
  192.         ------------------------------------------------
  193.  
  194.  
  195.                                       Page 3 of 24
  196.  
  197.  
  198.  
  199.  
  200.  
  201.         Find Area Code Documentation
  202.  
  203.  
  204.  
  205.  
  206.         Michael K. Molloy is a member of the Association of Shareware
  207.         Professionals (ASP).  ASP wants to make sure that the shareware
  208.         principle works for you.  If you are unable to resolve a shareware-
  209.         related problem with an ASP member by contacting the member directly,
  210.         the ASP may be able to help.  The ASP Ombudsman can help you resolve a
  211.         dispute or problem with an ASP member, but does not provide technical
  212.         support for members' products.  Please write to the ASP Ombudsman at 545
  213.         Grover Road, Muskegon MI 49442-9427 or send a Compuserve message via
  214.         CompuServe Mail to ASP Ombudsman 70007,3536.
  215.  
  216.  
  217.         Registration
  218.         ------------
  219.  
  220.         If you find FAC useful and you continue to use it after a reasonable (45
  221.         days) trial period, you are required to make a registration payment of
  222.         $17.95 plus $2.00 shipping and handling (U.S.) to Michael K. Molloy.
  223.         The $17.95 registration fee will license one copy for use on any one
  224.         computer at any one time.  Even after registering, you have a money-back
  225.         guarantee for 90 days after purchase.
  226.  
  227.         You must treat a registered version of this software just like a book.
  228.         Just as a book cannot be read by two different persons at the same time,
  229.         this software may be used by any number of people and may be freely
  230.         moved from one computer location to another, as long as there is no
  231.         possibility of it being used in two different locations at the same
  232.         time.
  233.  
  234.         Commercial users of Find Area Code (FAC) must register and pay for their
  235.         copies of the program within 45 days of first use or their license is
  236.         withdrawn.  For site-license information, see the file SITELICE.DOC.
  237.  
  238.         You are encouraged to pass (unregistered) copies of Find Area Code along
  239.         to your friends for evaluation.  Please encourage them to register their
  240.         copy if they find that they can use it.  All registered users will
  241.         receive a copy of the latest version of FAC when they register.
  242.  
  243.         Though the program is not "crippled" in anyway, this shareware version
  244.         shows an "Unregistered Shareware" status message in the lower right part
  245.         of the window to encourage you to register the program.  Also,
  246.         unregistered versions will give you a random (about 10% of the time),
  247.         bypassable registration reminder when you exit.  Naturally, the
  248.         registered version of the program doesn't have this.
  249.  
  250.         FAC is one of many area code finder utility programs, but I think you'll
  251.         find it is unsurpassed in speed, ease of use, convenience, and price.
  252.         As far as I know, it is the ONLY area code finder capable of being
  253.         installed as a 7K memory resident program.  Please fill out the included
  254.         registration order form (file REGISTER.DOC) and send in your
  255.         registration today.  You can send REGISTER.DOC to your printer by
  256.         typing:
  257.  
  258.                      "COPY REGISTER.DOC PRN"  (without the quotes)
  259.  
  260.  
  261.                                       Page 4 of 24
  262.  
  263.  
  264.  
  265.  
  266.  
  267.         Find Area Code Documentation
  268.  
  269.  
  270.  
  271.  
  272.         and then pressing ENTER while at the MS-DOS prompt.
  273.  
  274.  
  275.         What Do I Get for Registering, and Why Should I?
  276.         ------------------------------------------------
  277.  
  278.         When you register, you'll receive a disk with the latest version of the
  279.         program and a utility to stamp your serial number on all future versions
  280.         of the program.  Once you have registered FAC, you are always entitled
  281.         to the latest version at anytime.  You can download the latest version
  282.         from CompuServe, a BBS, or other computer service or I'll send you the
  283.         latest release for a small handling charge.  You can either send me a
  284.         SASE floppy mailer with your floppy, or just send me $4.00 and I'll
  285.         furnish the floppy, mailer, and postage.
  286.  
  287.         Here are some reasons why you should register:
  288.  
  289.           o You receive a CURRENT copy of the program, fresh from the author's
  290.             computer.
  291.  
  292.           o You get a LIFETIME license, meaning you're entitled to all future
  293.             versions/upgrades of FAC.
  294.  
  295.           o You get unlimited technical support via surface mail or electronic
  296.             mail.
  297.  
  298.           o You have the author's ear when it comes to suggesting new features
  299.             and capabilities.
  300.  
  301.           o You help increase competition in the software industry by keeping
  302.             prices low (shareware doesn't rely on expensive advertising).
  303.  
  304.           o Finally, you can be proud of the honesty and integrity you've shown
  305.             in registering the program and having participated in the Shareware
  306.             revolution.
  307.  
  308.  
  309.         Installation
  310.         ------------
  311.  
  312.         You can put Find Area Code's files in any directory.  The FAC.EXE and
  313.         FAC.DAT files can be anywhere on the disk as long as you set a path to
  314.         them with the MSDOS PATH statement.  Note that FAC.DAT need not be in
  315.         the same directory as FAC.EXE as long they are both on the PATH.  For
  316.         example, if you put FAC's files in the C:\UTIL directory, you would need
  317.         to have a PATH statement in your AUTOEXEC.BAT file which might look
  318.         something like this:
  319.  
  320.                         PATH=C:\;C:\DOS;C:\MISC;C:\UTIL;C:\MENU
  321.  
  322.         You need about 120K of disk space and 128K RAM to run the program from
  323.         the MSDOS prompt (non-TSR mode).  To use the program as a swapping TSR,
  324.         you must either have: an additional 250K of free disk space (hard disk
  325.  
  326.  
  327.                                       Page 5 of 24
  328.  
  329.  
  330.  
  331.  
  332.  
  333.         Find Area Code Documentation
  334.  
  335.  
  336.  
  337.         recommended); or 265K of expanded memory (EMS).
  338.  
  339.         Actually, FAC.EXE is the only you have to have on your path.  If you are
  340.         in the same directory as the FAC.DAT file, FAC.DAT need not be on your
  341.         PATH.
  342.  
  343.         ------------------ For Registered Users Only -------------------------
  344.  
  345.         When you register FAC, you'll receive an additional program which is
  346.         used to "stamp" a registered serial number on your copy (and all future
  347.         copies) of your program.  Stamping the serial number also disables the
  348.         "Unregistered Shareware" reminder in the lower right part of the window.
  349.  
  350.         To run this program, type "STAMP-SN" at the MSDOS prompt, and press
  351.         ENTER.  You'll be asked for the name of the EXE file to modify (since
  352.         FAC.EXE could be renamed to whatever you want).  If you're using
  353.         FAC.EXE, just press ENTER.  If the file is found on the PATH, it will be
  354.         stamped with a serial number identified with your registration.  BE SURE
  355.         to save you copy of STAMP-SN.EXE so you can use it with future releases
  356.         of FAC.
  357.  
  358.         If you're a user of various executable-file compression utilities like
  359.         LZEXE, PKLITE, or EXEPACK, you MUST run STAMP-SN on the unmodified
  360.         (uncompressed) original file BEFORE you use on of these utilities.  If
  361.         you try to run STAMP-SN on a compressed EXE file, you'll be unable to
  362.         stamp the serial number.
  363.  
  364.         If you are a registered user of FAC, you MAY NOT give anyone a copy of
  365.         the serial number stamped program, nor may you give anyone the
  366.         STAMP-SN.EXE program.
  367.  
  368.         ----------------------------------------------------------------------
  369.  
  370.  
  371.         Using FAC from the MSDOS Command Line
  372.         -------------------------------------
  373.  
  374.         First, you must know how to invoke FAC from the MSDOS command line
  375.         prompt.  Type "FAC /H" (or "FAC /?" or "FAC /" or "FAC ?") then press
  376.         ENTER and you'll see a complete list of options you have for using FAC.
  377.         Don't be alarmed at all the options.  FAC is very simple to use and
  378.         really requires only one thing--a string to search for. All the options
  379.         are for more advanced use.  FAC is designed to be very easy to use
  380.         without reference to documentation or help screens.
  381.  
  382.         FAC will immediately search for area code information if you enter the
  383.         search string as an MSDOS parameter after the program name.  If you
  384.         wish, you can simply type "FAC" to start the program without a
  385.         parameter.  You'll be prompted for a search string once inside the
  386.         program.  For example, suppose you wanted to know the area code for
  387.         Boulder, Colorado.
  388.  
  389.         At the MSDOS prompt, type: "FAC boulder" (without the quotes, of course)
  390.         then press ENTER.  The program will start, a window will popup on the
  391.  
  392.  
  393.                                       Page 6 of 24
  394.  
  395.  
  396.  
  397.  
  398.  
  399.         Find Area Code Documentation
  400.  
  401.  
  402.  
  403.         screen, and the program automatically begins its search.  Almost
  404.         instantly, you'll see information about the area code for Boulder.  The
  405.         first column in the display window has the 3 digit area code 303
  406.         (international area codes aren't necessarily 3 digits).  The next column
  407.         shows the 2 character postal abbreviation for Colorado, CO.  The third
  408.         column shows the full name of the state.  The last column shows the
  409.         major cities in this particular area code.  Notice Boulder appears in
  410.         this list.  When you've finished with the program, just press Esc and
  411.         you'll exit back to MSDOS.
  412.  
  413.         Let's take another example.  Suppose someone leaves you a note to call
  414.         someone in a 309 area code.  You don't recognize this area code and it's
  415.         inconvenient to look up the area code in the phone book. You type "FAC
  416.         309" then press ENTER.  Almost instantly, you learn that the 309 area
  417.         code includes Peoria, Molina, and Rock Island, Illinois.
  418.  
  419.         Searching for an international area code is almost exactly the same.
  420.         Just type in a city name, say Paris.  The program will display the
  421.         country code in the first column, the country name in the next column
  422.         (there is no postal abbreviation for most foreign countries), and a list
  423.         of major cities and city codes for that country in the last column.
  424.         Each city code is listed in parentheses immediately after the city name.
  425.         So you know the country code for France is 33 and the city code for
  426.         Paris is 1.
  427.  
  428.         Anytime you see a city name in all CAPITAL letters, that city is a state
  429.         or country capital.
  430.  
  431.         You get the idea.  By typing "FAC X" where X is any alphanumeric string,
  432.         you can quickly search the area code database.  You can search by area
  433.         code, state postal abbreviation, state name, country, city, or any
  434.         portion of thereof.  The search string can be in any combination of
  435.         upper or lower case letters and numbers. and must be at least two
  436.         characters.  If you use only two characters, the program assumes you
  437.         want to search for two-letter state postal abbreviations which appear
  438.         only in the first 7 characters of each line.  The program doesn't look
  439.         at anything else on the line except these first 7 characters.
  440.  
  441.         After you've performed a search, the last string searched for is shown
  442.         after the prompt.  To enter a new string, just start typing it in (the
  443.         old string will go away when you press the first character). You can
  444.         also edit the existing string by using the following keys:
  445.  
  446.             Left Arrow       - Cursor left one character
  447.             Right Arrow      - Cursor right one character
  448.             Ctrl-Left Arrow  - Cursor left one word
  449.             Ctrl-Right Arrow - Cursor right one word
  450.             Home             - Cursor to the beginning of the string
  451.             End              - Cursor to the end of the string
  452.             Del              - Delete the character under the cursor
  453.             BkSp             - Delete the character the left of the cursor
  454.             Ctrl-Y           - Delete the entire string
  455.             Ctrl-End         - Delete from the cursor to the end of the string
  456.             Ctrl-Home        - Delete from start of line to the cursor
  457.  
  458.  
  459.                                       Page 7 of 24
  460.  
  461.  
  462.  
  463.  
  464.  
  465.         Find Area Code Documentation
  466.  
  467.  
  468.  
  469.             Ctrl-T           - Delete word to the right of the cursor
  470.             Ins              - Toggle between Overwrite and Insert mode
  471.             Ctrl-R           - Restore the original contents of the line
  472.             ENTER            - Start searching for the specified string
  473.  
  474.         Search strings are limited to 20 characters.  Spaces entered at the
  475.         beginning and end of the search string are ignored (and discarded), but
  476.         spaces anywhere else in the string are valid.  This means you could
  477.         search for "San Francisco" but not for " San Francisco ".
  478.  
  479.         You can make any number of searches before exiting the program.
  480.         Remember, just press Esc to exit the program (Ctrl-C or Ctrl-Break will
  481.         also exit).
  482.  
  483.         While you're inside FAC, you can get brief help by pressing F1. This
  484.         shows you that F1 gets help, F2 toggles the "Fuzzy" search mode, F9
  485.         toggles the AutoZoom screen size feature, F10 toggles screen zooming,
  486.         and Esc exits the program.  You can reposition FAC's window up and down
  487.         on the screen by pressing the up and down arrow keys.
  488.  
  489.         Sometimes, your search string will find more information than can be
  490.         displayed in the window.  If the screen fills up with information, the
  491.         program will pause and prompt you to press the Esc key to stop
  492.         displaying information from the current search, or press any other key
  493.         to continue displaying information.  If you press Esc to stop displaying
  494.         information, you'll be returned to FAC's prompt.  Pressing Esc once more
  495.         will exit the program.
  496.  
  497.         If FAC doesn't find a match for your search string in its data file,
  498.         you'll see a brief message in the center of the window saying that the
  499.         string couldn't be found.  You can then edit the search string if you
  500.         wish.
  501.  
  502.         Once you've experimented with FAC, you may notice that sometimes it pops
  503.         up in the upper half of your screen and sometimes it pops up in the
  504.         lower half.  Why?  FAC looks at where the cursor is positioned and
  505.         brings up the FAC window in the opposite half of the screen you're
  506.         working in.  This insures the program doesn't obscure something you may
  507.         need to see while you're using the program.
  508.  
  509.         The other thing you may have noticed is that FAC pops up in whatever
  510.         mode (25, 43, or 50 lines) your video card is in.  FAC automatically
  511.         checks to see how many lines you're using at the moment and adjusts its
  512.         windows accordingly.  FAC isn't designed to support 40 column mode, but
  513.         will safely pop up (although you won't like what you see). FAC won't
  514.         popup at all when you're in graphics mode.
  515.  
  516.         One final note on using FAC from the command line.  You can "redirect"
  517.         the output from the program's status messages and so forth by using
  518.         standard MS-DOS redirection conventions.  For example, if you didn't
  519.         want info on the program's installation to appear on the screen while
  520.         booting up, you could install FAC like this:
  521.  
  522.                                      FAC /I >NUL
  523.  
  524.  
  525.                                       Page 8 of 24
  526.  
  527.  
  528.  
  529.  
  530.  
  531.         Find Area Code Documentation
  532.  
  533.  
  534.  
  535.  
  536.         When FAC installs, you wouldn't see messages from the program at all.
  537.  
  538.         If you want to, you could use the redirection capability to send FAC
  539.         status messages to a file or to the printer.
  540.  
  541.                FAC -H >FILENAME.EXT   This would send help info to FILENAME.EXT
  542.                FAC -H >PRN            This would send help info to the printer
  543.  
  544.         PLEASE NOTE:  If you redirect FAC's output to a file when you install it
  545.         as a memory resident program, that file remains "open" and is not
  546.         "released" back to MS-DOS normally until you uninstall FAC using the /U
  547.         option (or until you reboot your computer).  This is normally not a
  548.         problem, but could be if you had an extreme number of files open.  If
  549.         you have problems, try using a larger FILES entry in your CONFIG.SYS
  550.         file (if you're currently using FILES=24, try using FILES=28).  Again,
  551.         this is only when you redirect output when installing FAC as a TSR.
  552.  
  553.         You cannot redirect any of the windows or output from the running
  554.         program.
  555.  
  556.  
  557.         Using FAC as a Popup TSR Program
  558.         --------------------------------
  559.  
  560.         More often than not, when you're at your computer and you need area code
  561.         information, you're in the middle of doing something else.  To use FAC
  562.         as described above, you must save your work, exit the program you're
  563.         using, then invoke FAC.  FAC would tell you what you need to know, then
  564.         you would have to restart your original program, go back to where you
  565.         left off, and try to go back to work.
  566.  
  567.         It would be much more convenient if you could simply have FAC
  568.         immediately "popup" over whatever you're doing, give you the information
  569.         you need, then go away, leaving you exactly where you were.  Not only
  570.         would it be more convenient, it would save a lot of your valuable time.
  571.  
  572.         FAC can do this.  All you have to do is tell FAC to install itself as a
  573.         "popup" or memory resident program.
  574.  
  575.         You'll also see this type of program called a TSR, which stands for
  576.         Terminate & Stay Resident.  A TSR is installed or loaded once from the
  577.         MSDOS command line.  It stays in memory even while you're doing other
  578.         things, and watches to see when you press a special key or key sequence
  579.         to activate it.  This special key sequence is known as a "hotkey".  When
  580.         you press the hotkey, the program starts.
  581.  
  582.         Here's how to install FAC as a memory resident, popup program.  At the
  583.         MSDOS prompt, type: "FAC /I" (without the quotes) then press ENTER.  FAC
  584.         will then install itself in memory as a TSR.  When it has successfully
  585.         installed itself, it will describe how it has been installed.  In this
  586.         case, you will use FAC's defaults.
  587.  
  588.         Once you've installed FAC as described above, you can press FAC's hotkey
  589.  
  590.  
  591.                                       Page 9 of 24
  592.  
  593.  
  594.  
  595.  
  596.  
  597.         Find Area Code Documentation
  598.  
  599.  
  600.  
  601.         to pop it up wherever you are.  FAC's hotkey is <Alt><LeftShift><F>.  To
  602.         press this key sequence, press and hold the "Alt" key, press and hold
  603.         the Shift key on the left side of your keyboard, then press the F key.
  604.         As soon as all three keys are pressed, FAC will "wakeup" and activate
  605.         itself.
  606.  
  607.         FAC will draw its window on the screen right over the top of whatever
  608.         you're doing.  Don't worry.  When FAC is done, it will return the screen
  609.         to exactly the way it found it.
  610.  
  611.         When you invoke the TSR version of FAC as installed above, it works
  612.         somewhat differently than it does when you start it from the MSDOS
  613.         prompt.  Recall that when you run the program from the MSDOS prompt, you
  614.         must enter a parameter (search string) so FAC knows what to search for.
  615.         When FAC operates as a TSR, it can read the text string (state, area
  616.         code, city, etc.) you want to search for right off the screen by looking
  617.         at the word "under" or to the left of where you have the cursor
  618.         positioned!  (You can turn off reading the search string from the screen
  619.         by using the /G switch.  See Advanced Options and Configuration.)  If
  620.         the cursor isn't in a word or just to the right of a word, no search
  621.         string will be passed to FAC, but it will still pop up.  Reading the
  622.         search string from the screen can save you time typing in what to search
  623.         for and it can avoid errors you might make while typing.
  624.  
  625.         So, what happens?  You press the hotkey, FAC pops up over your work,
  626.         reads the text "under" the cursor, and immediately begins its search.
  627.         After it finds and displays a match, it prompts you for another search.
  628.         Now the program operates exactly the way it does when used from the
  629.         MSDOS prompt.
  630.  
  631.         If you use the up/down arrow keys to reposition the normal FAC window,
  632.         the position you choose will be retained the next time you press the
  633.         hotkey.  Note that this means that because you've repositioned the
  634.         window, it may pop up and obscure text near the cursor.  If this is a
  635.         problem or you want to "reset" window positioning to pop up in the
  636.         opposite half of the screen from the cursor, just press F10 (once if you
  637.         are zoomed, twice if you aren't zoomed) and the automatic positioning
  638.         will be restored.
  639.  
  640.         You can press F10 to zoom FAC's window to take up the full screen, and
  641.         the program will "remember" to pop up in this mode the next time you
  642.         press the hotkey.
  643.  
  644.         When you want to exit, press Esc, and FAC will collapse its window, and
  645.         restore your screen and cursor location exactly the way it appeared when
  646.         you pressed the hotkey.
  647.  
  648.         If you want to uninstall FAC as a memory resident program (TSR), you
  649.         have two choices.  You can uninstall FAC from the command line by using
  650.         the /U switch, or you can press Alt-U twice while inside FAC's window.
  651.         After you press Alt-U a second time, the program will exit and will
  652.         uninstall itself from memory.
  653.  
  654.  
  655.  
  656.  
  657.                                       Page 10 of 24
  658.  
  659.  
  660.  
  661.  
  662.  
  663.         Find Area Code Documentation
  664.  
  665.  
  666.  
  667.         What Are Swapping TSRs?
  668.         -----------------------
  669.  
  670.         You may have noticed that when you pressed the hotkey, a reverse video
  671.         message appeared on the bottom of the screen which said "Swapping in..."
  672.  
  673.          Similarly, when you pressed Esc to exit the program, "Swapping out..."
  674.         appeared.  These messages tell you the program is swapping into and out
  675.         of memory (RAM) from disk or expanded memory (EMS).  Why does the
  676.         program do this?
  677.  
  678.         Swapping TSRs are relatively new.  When they install, they take a
  679.         snapshot of the complete program and write it out to a "swap file" on
  680.         disk (or use EMS memory), then free up all but a tiny portion of memory
  681.         (which holds the portion of the program which watches for the hotkey and
  682.         then does the actual swapping to/from disk).  When swapping TSRs pop up
  683.         over your existing program, they may also have to take a snapshot of
  684.         your application and write it to disk or EMS memory before it swaps the
  685.         rest of the TSR in. So why do we want to put up with all this swapping
  686.         in and out? Doesn't this cause delays?  Why can't the program just pop
  687.         up instantly like my other TSRs?
  688.  
  689.         Well, like everything else in the world, there are tradeoffs.  In order
  690.         to run full-featured, advanced programs, it takes memory (RAM).  The
  691.         more full-featured the program, the more memory it takes. Unfortunately,
  692.         memory is a limited resource and "full-featured" often translates to
  693.         "memory-hungry."  FAC has many features but still only requires about
  694.         128K of RAM to run.  This isn't a problem if FAC is the only program you
  695.         want to run, but it's a big problem if you want FAC to be loaded as a
  696.         TSR at the same time you're running other (full-featured) programs.
  697.  
  698.         When FAC is installed as a swapping TSR, it only requires about 7K of
  699.         RAM to watch for you to press the hotkey and then swap what you're doing
  700.         out and swap itself in.  With all the other TSRs you use and the other
  701.         programs you run, you need all the help you can get.  The TSR swapping
  702.         technology FAC uses helps you optimize all the memory you have with very
  703.         little impact on how you use the program.  As computers continue to
  704.         become faster and more powerful, you'll see more and more swapping TSRs.
  705.  
  706.         The time you spend waiting on swapping is relatively trivial compared to
  707.         the time it takes to leave your application, then return.  On even the
  708.         slowest computers, swapping delays are only about 1 or 2 seconds.  On
  709.         faster computers using EMS memory for swapping, the TSR can pop up
  710.         instantaneously, for all practical purposes.  Of course swapping delays
  711.         can be affected by a wide range of hardware and software variables.
  712.         Fast hard disks with 1:1 interleaves and high data transfer rates make a
  713.         huge difference, even when used on an 808X CPU.  If you're able to use
  714.         EMS memory, RAM Disk, or disk caching (hardware or software) you'll find
  715.         swapping delays to be negligible or even unmeasurable.  See the section
  716.         below on Advanced Options and Configuration for information on how to
  717.         reduce swapping delays.
  718.  
  719.         The bottom line: I think the tradeoffs (swapping delays) are completely
  720.         acceptable given the tremendous savings in your precious RAM. I think
  721.  
  722.  
  723.                                       Page 11 of 24
  724.  
  725.  
  726.  
  727.  
  728.  
  729.         Find Area Code Documentation
  730.  
  731.  
  732.  
  733.         you'll think so, too!
  734.  
  735.  
  736.         Advanced Options and Configuration
  737.         ----------------------------------
  738.  
  739.         FAC has several different options or "switches" you can use to customize
  740.         the way FAC works when you invoke the program or install it as a popup.
  741.         Again, FAC is designed to be very easy to use, and you may be perfectly
  742.         happy with FAC's performance when you use its default options.
  743.  
  744.         Switch options are always preceded by either a "/" or a "-" and can be
  745.         upper or lower case letters.  Remember, to see a complete list of all
  746.         FAC's options, just type "FAC /H" at the MSDOS prompt and press ENTER.
  747.         Here's a quick summary of FAC's switches:
  748.  
  749.             /F     Enables "fuzzy search" mode
  750.             /I     Loads popup/TSR with defaults
  751.             /N     No swapping; (with /I)
  752.             /E     Don't use EMS memory for swapping (use disk); (with /I)
  753.             /A     Don't make disk swap files hidden/system file(s); (with /I)
  754.             /M     Suppresses swapping messages; (with /I)
  755.             /P     Path for swap files; used (with /I)
  756.             /G     Don't read text from screen on popup; (with /I)
  757.             /U     Unload popup from memory, if possible
  758.             /T     Don't use the AutoZoom feature
  759.             /X     Don't use exploding windows
  760.             /Z     Use a "zoomed" window which uses the full screen
  761.  
  762.         Most of these switches can be used in either of two ways: 1) as command
  763.         line switches, entered when the program is run; or 2) entered as part of
  764.         an environment variable called "FAC". If you wanted the program to use
  765.         the fuzzy search mode, you could simply enter  "FAC bolder /f" and the
  766.         search would take place, using the fuzzy search.  But, what if you
  767.         wanted FAC to ALWAYS start in (default to) fuzzy mode?  This is where
  768.         the FAC environment variable would be used.  Use the SET command to
  769.         assign a string to the FAC environment variable:
  770.  
  771.                                        SET FAC=/f
  772.  
  773.         If you entered this before running FAC or had this line in your
  774.         AUTOEXEC.BAT file, FAC would always start in fuzzy mode without having
  775.         to enter it on the command line when you start the program.
  776.  
  777.         Suppose you always wanted FAC to use fuzzy search mode, zoomed windows,
  778.         non-exploding windows, and when installed as a TSR: no swapping messages
  779.         with a swap file path of d:\temp and without getting search strings from
  780.         the screen.  Instead of entering each of these switches each time you
  781.         run the program, you would use the following environment variable entry,
  782.         preferably in your AUTOEXEC.BAT file:
  783.  
  784.                           SET FAC=/f /Z -x /M -pd:\temp /g
  785.                                    ^  ^  ^  ^  ^         ^
  786.         Fuzzy mode ----------------|  |  |  |  |         |
  787.  
  788.  
  789.                                       Page 12 of 24
  790.  
  791.  
  792.  
  793.  
  794.  
  795.         Find Area Code Documentation
  796.  
  797.  
  798.  
  799.         Zoomed window ----------------+  |  |  |         |
  800.         Non-exploding window ------------+  |  |         |
  801.         Swapping messages off --------------+  |         |
  802.         Swap path -----------------------------+         |
  803.         Don't get search string from screen -------------+
  804.  
  805.         Now, every time FAC is run the above settings will be the defaults. If
  806.         you install the program as a TSR, these settings will be the default
  807.         settings unless you change them after invoking the program with the
  808.         hotkey.  If you change them while TSR, that change will remain effective
  809.         until the next time you change it.
  810.  
  811.         Note the use of both a slash and dash as switch characters and the mixed
  812.         use of upper and lower characters.  You can use all FAC option switches
  813.         in the SET FAC environment variable except /I and /U.  You can use any
  814.         combination of switches in any order.  Invalid switch settings will be
  815.         ignored.  If you enter a swap path with the /P switch, it will be
  816.         checked for validity prior to program execution.
  817.  
  818.         The following is a complete description of all FAC option switches.
  819.  
  820.  
  821.         The "/F" Switch
  822.         ---------------
  823.  
  824.         Used for both non-TSR and TSR.  Can be used in the FAC environment
  825.         variable.
  826.  
  827.         The /F switch says, "Use a 'fuzzy' search method which doesn't require
  828.         an exact spelling to get a match."  When you use the /F switch, you tell
  829.         the program to use a powerful text matching technique called the soundex
  830.         algorithm.  Soundex searches attempt to match words based on the way
  831.         they sound rather than by how they're spelled.  If you aren't sure how a
  832.         city, state, or country is spelled, or you're getting a 'not found'
  833.         message with the string you're using, try the /F switch.
  834.  
  835.         There is a price to pay for the soundex searching method: speed.
  836.         Searches may take up to 10 times as long as normal "exactly spelled"
  837.         searches, but this is well worthwhile if it's the only way you can find
  838.         what you're looking for.  You may also get a lot more seemingly
  839.         unrelated "hits" from a fuzzy search, but this is normal.  After all,
  840.         you're looking for anything that remotely resembles or sounds like your
  841.         search string.
  842.  
  843.         Since fuzzy searches take longer, you may need to stop the search before
  844.         it completes.  You can press any key during the fuzzy search and it will
  845.         stop and return to the program's prompt.
  846.  
  847.         Once you're inside FAC, you can use the F2 key to toggle between normal
  848.         searching and fuzzy searches (there's an indicator on in the top center
  849.         of the window frame when you're in fuzzy mode).  If you've installed FAC
  850.         as memory resident program, the program will remember whether you were
  851.         in fuzzy mode the last time you used it.
  852.  
  853.  
  854.  
  855.                                       Page 13 of 24
  856.  
  857.  
  858.  
  859.  
  860.  
  861.         Find Area Code Documentation
  862.  
  863.  
  864.  
  865.         Examples: "FAC Colorawdo /f" "FAC springfeild /f"
  866.  
  867.         In both these examples, the program would immediately start searching
  868.         for the specified strings, but the 'Fuzzy Search' indicator would be on
  869.         at the top center of the window frame, and you would also see a flashing
  870.         message telling you the search is in progress.  The first example would
  871.         give you "hits" for Colorado, even though it's misspelled.  The second
  872.         example would find three instances of Springfield as you might expect,
  873.         but also yields Palm Springs, Steamboat Springs, Colorado Springs, and
  874.         Big Spring.
  875.  
  876.  
  877.         The "/I" Switch
  878.         ---------------
  879.  
  880.         Used to install FAC as a swapping or non-swapping TSR.  Can NOT be used
  881.         in the FAC environment variable.
  882.  
  883.         The /I switch says, "Install FAC as a memory resident program using its
  884.         defaults and/or other switches." If you use /I by itself, the program
  885.         will install itself using several predefined defaults, all of which can
  886.         be changed by using other switches.
  887.  
  888.         If you use /I alone to install FAC, the following defaults are used:
  889.  
  890.           - Swapping to disk is enabled unless sufficient EMS memory is found.
  891.           - Messages which tell you swapping is happening are enabled.
  892.           - Disk swap files will be hidden/system files.
  893.           - The disk and directory path FAC uses for swap files is the same
  894.             disk/directory where FAC found FAC.DAT.
  895.           - AutoZoom is on.
  896.           - Exploding windows are enabled (see the /X switch above).
  897.  
  898.         After you use the /I switch to install FAC, you will see a status
  899.         message which describes the state of each of the above defaults.
  900.  
  901.         Note that if FAC is already installed, you won't be able to install a
  902.         second copy.  If you try to install it again, you'll get an error
  903.         message and the installation will abort.
  904.  
  905.         If you don't have enough disk space for the swap files, you'll get an
  906.         error message and FAC won't install as a TSR.
  907.  
  908.         After you install FAC as a TSR, don't move or rename the FAC.DAT file or
  909.         you will probably get dumped from the TSR when you try to use it.
  910.  
  911.         Please note that you can't pop up FAC when you're using a program which
  912.         is currently in graphics mode.  If you try to pop it up, you'll hear a
  913.         beep and nothing else will happen.
  914.  
  915.         Also, be aware that since FAC swaps the currently running program out so
  916.         it can become active, you could have a problem with some programs,
  917.         especially communications programs.  In this case, you should run the
  918.         program in non-swapping mode (/N).  It still isn't advisable to pop up
  919.  
  920.  
  921.                                       Page 14 of 24
  922.  
  923.  
  924.  
  925.  
  926.  
  927.         Find Area Code Documentation
  928.  
  929.  
  930.  
  931.         any TSR when a communications program if data is coming in or going out.
  932.  
  933.         FAC should work fine with most other TSRs.  The only problem you may
  934.         encounter is when you don't load FAC last among other TSRs.  This won't
  935.         hurt anything, but you may not have access to your other TSRs when FAC
  936.         is swapped in (since it may have swapped the other TSR(s) out of RAM).
  937.         If FAC isn't in use, or it's been installed as a non-swapping TSR, you
  938.         shouldn't have a problem with TSRs loaded after it.
  939.  
  940.         Don't attempt to install FAC while you're "shelled out" of other
  941.         programs.  For example, you can drop temporarily to MSDOS from many
  942.         programs, but you should never try to install FAC while you're doing so.
  943.  
  944.         This also applies to many menu programs like PowerMenu and AutoMenu.
  945.         These programs can leave a portion of themselves in memory.  You should
  946.         never try to install FAC as a TSR from any menu program.  Completely
  947.         exit from any other program before attempting to install FAC as a TSR.
  948.         You may run FAC from the MSDOS prompt (non-TSR) while shelled out of
  949.         another program if you wish.
  950.  
  951.         Example:  "FAC /I"
  952.  
  953.         This would install FAC as a TSR with the defaults described above.
  954.  
  955.         What follows is a more detailed discussion of these defaults, how you
  956.         can change them, and why you might want to.
  957.  
  958.         
  959.         The "/N" Switch
  960.         ---------------
  961.  
  962.         Used with /I to install FAC as a non-swapping TSR.  Can be used in the
  963.         FAC environment variable.
  964.  
  965.         The /N switch says, "NO swapping; don't use the swapping TSR mode; keep
  966.         the entire TSR in RAM."  This will give you instant access to FAC when
  967.         you press the hotkey, but requires about 130K of RAM.  If you have
  968.         plenty of RAM, you need FAC to be available instantly, and you use
  969.         programs which won't miss the memory FAC requires in this mode, use the
  970.         /N switch.
  971.  
  972.         The default is a swapping TSR.
  973.  
  974.         Example:  "FAC /I /N"
  975.  
  976.         This would install FAC as a non-swapping TSR.
  977.  
  978.         
  979.         The "/E" Switch
  980.         ---------------
  981.  
  982.         When used with /I; don't use Expanded Memory (EMS) when it's available.
  983.         Can be used in the FAC environment variable.
  984.  
  985.  
  986.  
  987.                                       Page 15 of 24
  988.  
  989.  
  990.  
  991.  
  992.  
  993.         Find Area Code Documentation
  994.  
  995.  
  996.  
  997.         The /E switch says, "even if EMS memory is present, don't grab it and
  998.         use it for swapping--use disk instead."  This switch prevents the
  999.         program from automatically allocating your EMS memory.  Note that using
  1000.         EMS memory greatly speeds up swapping; you should use it if possible.
  1001.  
  1002.         The default is to use EMS memory for swapping.
  1003.  
  1004.         Example: "FAC /I /E"
  1005.  
  1006.         This example disables the use of EMS memory for swapping when FAC is
  1007.         installed as a TSR.
  1008.  
  1009.  
  1010.         The "/A" Switch
  1011.         ---------------
  1012.  
  1013.         When used with /I (and when disk is used for swapping), uses swap files
  1014.         with "normal" file attributes rather than hidden/system attributes.  Can
  1015.         be used in the FAC environment variable.
  1016.  
  1017.         The /A switch says, "When FAC is installed as a TSR using disk for
  1018.         swapping, don't use hidden/system attributes on the swap file(s)."  This
  1019.         switch allows you to control the file attribute used on the swap files.
  1020.  
  1021.         NOTE: If you use this switch, be SURE not to delete the swap file(s)
  1022.         while FAC is memory resident (TSR).  If this file isn't present when the
  1023.         program tries to swap itself in, you'll probably have to reboot your
  1024.         computer to recover.
  1025.  
  1026.         The default is to use hidden/system attributes on the swap file(s) when
  1027.         swapping to disk.  This switch does nothing if EMS is being used.
  1028.  
  1029.         Example: "FAC /I /A"
  1030.  
  1031.         In this example (if EMS wasn't available), the swap files would have
  1032.         normal attributes instead of hidden/system attributes.
  1033.  
  1034.         
  1035.         The "/M" Switch
  1036.         ---------------
  1037.  
  1038.         Used with /I when installing FAC as a swapping TSR.  Can be used in the
  1039.         FAC environment variable.
  1040.  
  1041.         The /M switch says, "don't put the swapping in/out... messages at the
  1042.         bottom of the screen when swapping."  The program doesn't work any
  1043.         differently, except that you won't see the messages.  If you use EMS
  1044.         memory (the default if you have EMS installed), or a RAM disk for
  1045.         swapping, the swapping messages might be an unnecessary distraction.
  1046.  
  1047.         The default is to have swapping messages appear.
  1048.  
  1049.         Example: "FAC /I /M"
  1050.  
  1051.  
  1052.  
  1053.                                       Page 16 of 24
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.         Find Area Code Documentation
  1060.  
  1061.  
  1062.  
  1063.         This would install FAC as a swapping TSR, but swapping messages would be
  1064.         disabled.
  1065.  
  1066.         
  1067.         The "/P" Switch
  1068.         ---------------
  1069.  
  1070.         Used with /I when installing FAC as a swapping TSR.  Can be used in the
  1071.         FAC environment variable.
  1072.  
  1073.         The /P switch, when followed by a complete path specification, says,
  1074.         "put the swap files in the specified disk/directory."  The path
  1075.         specification must be a valid, already existing disk/directory, and must
  1076.         be less than 127 characters.  Do not put a backslash on the end of the
  1077.         path specification (unless you're using the root directory of the
  1078.         specified disk).  In other words, use the same format for the /P path
  1079.         specification that you would for a normal DOS PATH statement.
  1080.  
  1081.         The main reason you would use this switch would be to tell FAC to use a
  1082.         RAM disk. If you have a RAM disk, with at least 250K of space, you
  1083.         should use the /P switch to significantly speed up swapping.  If you use
  1084.         /P to swap to RAM disk, you may wish to use the /M switch to disable the
  1085.         swapping in/out messages.
  1086.  
  1087.         It's highly inadvisable to use a removable (floppy) disk for the swap
  1088.         path.  You won't harm anything, but you could lock up your machine and
  1089.         have to reboot if the disk isn't there when swapping needs to occur.
  1090.  
  1091.         Whether you use the /P option or not, FAC generates either one or two
  1092.         swap files, named FAC-SWP1.$$$ and FAC-SWP2.$$$, each about 125K in
  1093.         size, located wherever FAC.DAT was found (unless you specify otherwise
  1094.         with the /P switch).  These files are marked with both System and Hidden
  1095.         attributes to make it less likely you will accidentally delete them
  1096.         unless you use the /A option).  If they are deleted after FAC is loaded,
  1097.         and you try to pop up the program, you'll get an error message and
  1098.         you'll have to reboot.  When you successfully unload FAC, the swap files
  1099.         are deleted.  If you reboot or turn your machine off, the file(s) will
  1100.         remain, but will be written over the next time FAC is loaded as a TSR.
  1101.  
  1102.         The default is to put swap files in the same disk/directory where
  1103.         FAC.DAT was found.  If you aren't sure where this is, run FAC with no
  1104.         parameters and look at the default determined by the program at run
  1105.         time.
  1106.  
  1107.         Examples: "FAC /I /Pd:" "FAC /I /Pc:\junk
  1108.  
  1109.                   "FAC /I /Pc:\temp\" <=== WRONG!! No backslash after the path!
  1110.  
  1111.         The first example would install FAC as a swapping TSR with the swap
  1112.         files located on the D: drive.  The second example would use a swap file
  1113.         directory called C:\JUNK.  The third example is an invalid path name and
  1114.         would give an error.
  1115.  
  1116.         
  1117.  
  1118.  
  1119.                                       Page 17 of 24
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.         Find Area Code Documentation
  1126.  
  1127.  
  1128.  
  1129.         The "/G" Switch
  1130.         ---------------
  1131.  
  1132.         When used with /I; don't get search strings from the screen in TSR mode.
  1133.         Can be used in the FAC environment variable.
  1134.  
  1135.         The /G switch says, "When you popup FAC, don't read the text to search
  1136.         for off the user's screen; just ask for a string."  This switch prevents
  1137.         you from grabbing the search string from the screen and requires you to
  1138.         enter it yourself.
  1139.  
  1140.         The default is to read the screen for the text to search for.
  1141.  
  1142.         Example: "FAC /I /G"
  1143.  
  1144.         This example disables reading the text from the screen when FAC is
  1145.         popped up.
  1146.  
  1147.         
  1148.         The "/U" Switch
  1149.         ---------------
  1150.  
  1151.         Attempts to uninstall FAC (in TSR mode) from memory, and delete swap
  1152.         files, if they exist.  Can NOT be used in the FAC environment variable.
  1153.  
  1154.         The /U switch says, "If it is safe to do so, remove FAC from RAM as a
  1155.         swapping or non-swapping TSR, free up associated memory, and delete any
  1156.         swap files which may have been created."  Use the /U switch if you need
  1157.         to uninstall the program.  "If it is safe to do so" means just that.  If
  1158.         FAC isn't installed as the last TSR, you won't be able to uninstall it.
  1159.         (You may be able to uninstall FAC by using something like the
  1160.         Mark/Release TSRCOM utilities, but even then, you must remove FAC and
  1161.         all TSRs loaded after it.  If you plan to frequently uninstall FAC you
  1162.         should load it last.  Of course if you load FAC last, then you won't be
  1163.         able to unload TSRs loaded before it.  Naturally, you can uninstall any
  1164.         TSR by rebooting your machine.
  1165.  
  1166.         Example: "FAC /U"
  1167.  
  1168.         This example would uninstall FAC if no other TSRs were installed after
  1169.         it.
  1170.  
  1171.         Note that you can also uninstall FAC from inside the program by pressing
  1172.         Alt-U twice in succession.
  1173.  
  1174.  
  1175.         The "/T" Switch
  1176.         ---------------
  1177.  
  1178.         Used for both non-TSR and TSR.  Can be used in the FAC environment
  1179.         variable.
  1180.  
  1181.         This option or program "switch" applies to FAC when run from the MSDOS
  1182.         prompt (non-memory resident mode) or when you install it as a popup.  If
  1183.  
  1184.  
  1185.                                       Page 18 of 24
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.         Find Area Code Documentation
  1192.  
  1193.  
  1194.  
  1195.         you use the "/T" switch, FAC will disable its use of the AutoZoom
  1196.         screen-sizing feature.  If you use this option, it means that when a
  1197.         large number of lines needs to be displayed, the screen won't
  1198.         automatically zoom to full size to show you as much text as possible.
  1199.  
  1200.         The default is to use the AutoZoom feature.
  1201.  
  1202.         If you want to disable the AutoZoom feature when you run the program
  1203.         from the MSDOS command line (non-TSR), just put the /T switch after your
  1204.         search parameter.
  1205.  
  1206.         Example:  "FAC City /T"
  1207.  
  1208.         When the program starts, the window would start out at the half size and
  1209.         then, when the window fills up with area code information containing the
  1210.         word "city," the program would pause instead of automatically zooming to
  1211.         full screen.
  1212.  
  1213.         
  1214.         The "/X" Switch
  1215.         ---------------
  1216.  
  1217.         Used for both non-TSR and TSR.  Can be used in the FAC environment
  1218.         variable.
  1219.  
  1220.         This option or program "switch" applies to FAC when run from the MSDOS
  1221.         prompt (non-memory resident mode) or when you install it as a popup.  If
  1222.         you use the "/X" switch, FAC will disable its use of exploding windows.
  1223.         Exploding windows don't change the way the program searches or the way
  1224.         you use it, it just changes how the program looks when it starts and
  1225.         finishes.
  1226.  
  1227.         If you want to disable exploding windows when you run the program from
  1228.         the MSDOS command line (non-TSR), just put the /X switch after your
  1229.         search parameter.
  1230.  
  1231.         Example:  "FAC boulder /x"
  1232.  
  1233.         When the program starts, the window would appear instantly on the screen
  1234.         instead of being exploded onto the screen.
  1235.  
  1236.  
  1237.         The "/Z" Switch
  1238.         ---------------
  1239.  
  1240.         Used for both non-TSR and TSR.  Can be used in the FAC environment
  1241.         variable.
  1242.  
  1243.         This option applies to FAC when run from the MSDOS prompt (non-memory
  1244.         resident mode) or when you install it as a popup.  If you use the "/Z"
  1245.         switch, FAC will "zoom" its window to take up the entire screen.
  1246.  
  1247.         Example:  "FAC TX /Z"
  1248.  
  1249.  
  1250.  
  1251.                                       Page 19 of 24
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.         Find Area Code Documentation
  1258.  
  1259.  
  1260.  
  1261.         When the program starts, the window takes up the entire screen.  You
  1262.         might want to use this option if you're viewing lists of area codes or
  1263.         all the area codes for one state.
  1264.  
  1265.  
  1266.         Error Conditions
  1267.         ----------------
  1268.  
  1269.         FAC is very friendly and shouldn't give error messages unless there's
  1270.         really something you need to fix.  Here are some error messages FAC
  1271.         could generate and why you might get them:
  1272.  
  1273.         - "Error while trying to find/open FAC.DAT"   Make sure FAC.DAT exists
  1274.            and that the disk and directory containing FAC.DAT is on your MSDOS
  1275.            path.
  1276.  
  1277.         - "XXXX is an invalid path name!"  You've specified an incorrect path
  1278.            when using the /P switch or the path you've specified is too long
  1279.            the limit is 127 characters)
  1280.  
  1281.         - "FAC isn't loaded!"  You've tried to uninstall FAC (as a TSR) when it
  1282.            wasn't previously loaded.  Use the /I option to install it.
  1283.  
  1284.         - "Unable to unload FAC.  Probably isn't safe to do so!"  This isn't
  1285.            really an error message; it just means that the program can't
  1286.            uninstall itself, probably because there's another TSR or program
  1287.            loaded after it. Try rebooting if you have to unload it.
  1288.  
  1289.         - "XXXX not found."  This, too, isn't really an error message. You'll
  1290.            get this message any time you searched for string and it wasn't
  1291.            found. The string you're searching for may not be in FAC.DAT or you
  1292.            may need to check your spelling.  Try the fuzzy search mode if you
  1293.            aren't sure of the spelling.
  1294.  
  1295.         - "FAC is already memory resident!"  You're trying to install FAC after
  1296.            it's already been loaded.  Use FAC /U to uninstall it.
  1297.  
  1298.         - "Unable to go TSR.  Do you have enough swap file disk space on X:?"
  1299.            This message means FAC couldn't go TSR, probably because you don't
  1300.            have enough RAM, or you don't have enough disk space for the swap
  1301.            files.
  1302.  
  1303.         - "Couldn't make window!"  There was a memory allocation error when FAC
  1304.            tried to draw its window.  You probably don't have enough RAM to run
  1305.            FAC.
  1306.  
  1307.  
  1308.         Technical/Compatibility Notes
  1309.         -----------------------------
  1310.  
  1311.         Find Area Code runs on IBM PC compatibles (clones) using MSDOS 3.XX and
  1312.         4.01.  I'm pretty sure the program won't work with DOS 2.X since 2.X
  1313.         handles paths differently.  It might work if you're in the same
  1314.         directory as the data file.
  1315.  
  1316.  
  1317.                                       Page 20 of 24
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.         Find Area Code Documentation
  1324.  
  1325.  
  1326.  
  1327.  
  1328.         One of the reasons the program searches so quickly is RLINE, Don
  1329.         Strenczewilk's excellent Turbo Pascal OOP text file handling unit. RLINE
  1330.         allows you to define a "file of lines" object.  In addition, FAC can
  1331.         search at a rate of over 800 lines per second on an XT with a slow hard
  1332.         disk!  Thanks to Don for graciously donating his code to the public
  1333.         domain!
  1334.  
  1335.         The excellent TSR swapping system and windowing comes from Object
  1336.         Professional 1.1 from TurboPower Software.  If you do any programming
  1337.         in Turbo Pascal 6.0, you owe it to yourself to use Object Pro!
  1338.  
  1339.  
  1340.         How to Reach the Author
  1341.         -----------------------
  1342.  
  1343.                       Michael K. Molloy
  1344.                       8531 East Dry Creek Place
  1345.                       Englewood, CO  80112
  1346.                       CIS: 72737,3237
  1347.  
  1348.         CompuServe Information Service (CIS) is the best place to reach me, but
  1349.         I also frequent the MicroManiac!, Tom Gettys' fantastic Wildcat BBS
  1350.         (303-673-9470) in Lafayette, CO.  I would be happy to provide electronic
  1351.         support there, if you wish.  His board should always have the latest
  1352.         version of Find Area Code (and hundreds of other fresh uploads!).
  1353.  
  1354.  
  1355.         Alternative Uses
  1356.         ----------------
  1357.  
  1358.         You may have thought to yourself as you used FAC, "Hmmm, if I can pop
  1359.         FAC up anywhere as a tiny TSR, and if I can change the contents of the
  1360.         FAC.DAT file, why can't I put my own personal information into it and
  1361.         quickly and conveniently search for it when I need it?" You can, and I
  1362.         hope you will.
  1363.  
  1364.         I think the ease of modifying FAC's database is a very valuable feature.
  1365.         In fact, one of the reasons I decided to write "yet another area code
  1366.         finder" was the frustration I had with the fact you couldn't modify,
  1367.         correct, update, or add to some of the other area code program data
  1368.         files.
  1369.  
  1370.         My own personal use of FAC goes far beyond just using it to hunt down
  1371.         area codes.  Here's what I do.
  1372.  
  1373.         I have (you probably do, too if you're any kind of computer nut) a
  1374.         database of friends and relatives with which I maintain a quick
  1375.         reference phone list.  Periodically, I use my database program to
  1376.         generate a report which I print to disk.  The report looks something
  1377.         like this:
  1378.  
  1379.         John Doe            555-555-5555  1234 Anywhere St., Anyplace, CO  12345
  1380.         Joe's Software Shop     555-1234  (open 24 hours)
  1381.  
  1382.  
  1383.                                       Page 21 of 24
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.         Find Area Code Documentation
  1390.  
  1391.  
  1392.  
  1393.         Jay's Hardware Emporium 555-9876  (Closes at 6pm)
  1394.         Jim Smith               555-0000  (Keep trying; has teenagers on phone)
  1395.         ...
  1396.         (you get the idea)
  1397.  
  1398.         I use an editor to paste the ASCII information into the front of my
  1399.         FAC.DAT file, and presto! I have a 7K popup database of our family and
  1400.         friends.  I put the information at the front only to improve search
  1401.         times for the information I need most frequently; it can be anywhere, in
  1402.         any format, in any order since every character of the entire FAC.DAT
  1403.         file is searched every time (except when your search string is only 2
  1404.         characters; that tells the program you're searching for a state postal
  1405.         abbreviation in the first 7 characters; be careful with that!).
  1406.  
  1407.         Obviously, if you change the data file to reflect your own data, it
  1408.         could be used for almost anything.  Just remember, the program is
  1409.         line-oriented--all the information for one "record" must be on the same
  1410.         line.  Each line in the data file is limited to 119 characters. If lines
  1411.         are longer than 119 characters, they'll be truncated when they are
  1412.         displayed.  The program will automatically wordwrap lines of up to 119
  1413.         characters when the "record" is displayed.
  1414.  
  1415.         I guess the way I use FAC makes it kind of a "poor man's personal
  1416.         information manager (PIM)".  I've found that FAC is far superior to LIST
  1417.         and other text file handling programs when it comes to ease of use and
  1418.         search speed.
  1419.  
  1420.         FAC certainly isn't offered as any kind of free format database package,
  1421.         but I think it bridges an important gap between a full-blown database
  1422.         application and a tattered piece of paper taped above your computer
  1423.         desk.
  1424.  
  1425.         I think this capability gives FAC significant "value added."  I hope you
  1426.         agree and see another reason to support the program with your
  1427.         registration.
  1428.  
  1429.         Use your imagination!  If you come up with radical or useful new
  1430.         applications for Find Area Code "engine", please let me know.
  1431.  
  1432.  
  1433.         Final Remarks
  1434.         -------------
  1435.  
  1436.         Many thanks to my wife, Bobbea, for her friendship, love, and support in
  1437.         every aspect of my life.
  1438.  
  1439.         Thanks to Tom Gettys for his patient and valuable beta test feedback and
  1440.         for having the best BBS in Colorado!  Thanks to members of the
  1441.         Association of Shareware Professionals, especially Paul Mayer and Bob
  1442.         Falk for advice on shareware and for the boilerplate text for my
  1443.         documentation.
  1444.  
  1445.         I've made every effort to provide the correct area codes and foreign
  1446.         country city codes.  If you find errors or additions, please let me
  1447.  
  1448.  
  1449.                                       Page 22 of 24
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.         Find Area Code Documentation
  1456.  
  1457.  
  1458.  
  1459.         know.
  1460.  
  1461.         NOTE: Your registration and support for this program will enable me to
  1462.         continue to develop FAC and add other valuable features in future
  1463.         versions:
  1464.  
  1465.             - Capability to set user defaults (colors/hotkey/etc.)
  1466.             - Extended "record" length
  1467.             - Multiple data file handling ("subject" databases?)
  1468.             - Mouse support?
  1469.             - You tell me.
  1470.  
  1471.         If FAC doesn't do what you think it should, or you'd like for it to do
  1472.         something else, I would be happy to develop a customized version of the
  1473.         program for anyone who wants one (for a reasonable fee).
  1474.  
  1475.         I'd appreciate bug reports, new feature requests, comments, performance
  1476.         problems, constructive criticism, suggestions, additions, and/or
  1477.         corrections regarding Find Area Code.
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.                                       Page 23 of 24
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.         Find Area Code Documentation
  1522.  
  1523.  
  1524.  
  1525.                           Quick Reference List of FAC Options
  1526.                           -----------------------------------
  1527.  
  1528.               FAC                 Starts program; prompts for a search string.
  1529.  
  1530.               FAC <String>        Searches for String. Can be any part of or all
  1531.                                   of a City, State, Country, or Area Code. If
  1532.                                   String is 2 characters then a search on U.S
  1533.                                   states only is assumed.  (Does not install
  1534.                                   TSR)
  1535.  
  1536.               FAC <String> /F     Enables "fuzzy search" mode to find
  1537.                                   approximate spellings
  1538.  
  1539.               FAC /I              Loads popup/TSR with defaults:
  1540.                                   - Swap using EMS memory (or disk if no EMS)
  1541.                                   - Swapping messages on
  1542.                                   - Swap files have hidden/system attributes
  1543.                                   - Swap file path = same path FAC.DAT found on
  1544.                                   - Exploding windows on
  1545.                                   - AutoZoom is On
  1546.                                   - Read search string from screen
  1547.  
  1548.               FAC /I /N           Loads popup; no swapping (instant popup mode
  1549.                                   but requires 130K RAM)
  1550.  
  1551.               FAC /I /E           Don't use Expanded Memory (EMS) even if it's
  1552.                                   available; use disk swapping only
  1553.  
  1554.               FAC /I /A           Don't use hidden/system attributes on swap
  1555.                                   files (during disk swapping only).
  1556.  
  1557.               FAC /I /M           Loads popup; suppresses swapping messages
  1558.  
  1559.               FAC /I /Pc:\temp    Loads popup: path for swap files = c:\temp
  1560.                                   Specify RAM disk if available/possible
  1561.  
  1562.               FAC /I /G           Don't read text from screen on popup (when
  1563.                                   used with other parameters)
  1564.  
  1565.               FAC /U              Unloads popup from memory, if possible;
  1566.                                   deletes swap files
  1567.  
  1568.               FAC /X              Don't use exploding windows (when used with
  1569.                                   other parameters)
  1570.  
  1571.               FAC /T              Don't use the AutoZoom feature (which
  1572.                                   automatically zooms to full screen when
  1573.                                   necessary.).
  1574.  
  1575.               FAC /Z              Use a "zoomed" window which uses the full
  1576.                                   screen (when used with other parameters)
  1577.  
  1578.  
  1579.  
  1580.  
  1581.                                       Page 24 of 24
  1582.  
  1583.  
  1584.  
  1585.